package org.payeco.risk.rules;

import java.util.List;

import org.jeasy.rules.annotation.Action;
import org.jeasy.rules.annotation.Condition;
import org.jeasy.rules.annotation.Fact;
import org.jeasy.rules.annotation.Priority;
import org.jeasy.rules.annotation.Rule;
import org.payeco.risk.model.UserDefinedClasses;
import org.payeco.risk.model.UserDefinedParams;
import org.payeco.risk.entity.PayecoRiskRule;

@Rule
public abstract class Rule00000 {
	
	private PayecoRiskRule rule;
    public Rule00000(PayecoRiskRule rule) {
    	this.rule = rule;
    }
	@Condition
    public abstract boolean isMatch(UserDefinedClasses classList,
			UserDefinedParams params);

    @Action
    public abstract boolean validate(UserDefinedClasses classList,
			UserDefinedParams params);

    @Priority
    public int getPriority() {
        return this.rule.getPriority();
    }
    
}
